﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary
{
    public interface IDataAccess<T>
    {
        T Create(T objectToCreate);

        T Update(T objectToUpdate);

        bool Delete(T objectToDelete);

        T Load(int idOfObjectToLoad);

        List<T> LoadAll();
    }
}
